layui.config({
    base: '../../layui/' //此处路径请自行处理, 可以使用绝对路径
}).use(['jquery', 'form','layer'], function () {
    const form = layui.form
        , layer = layui.layer
        , $ = layui.jquery;
   $(function (){
       $.ajax({
           url: '/monitor/jobLog/'+$("#jobLogId").val(),
           dataType: "json",
           contentType: "application/json;charset=utf-8",
           type: "get",
           success: function (result) {
               if (result.code=200){
                   console.log(result.data)
                   const data= result.data
                   $("#jobLogId").html(data.jobLogId);
                   $("#jobName").html(data.jobName);
                   $("#invokeTarget").html(data.invokeTarget);
                   $("#exceptionInfo").html(data.exceptionInfo);
                   $("#createTime").html(data.createTime);
                   $("#status").html(data.status==0?"成功":"失败");
               }
           }
       })
   })

});

